﻿using System.Windows;
using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using System;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Menu;
using System.Windows.Controls;

namespace EnergyDrinkMain
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class Shell : Window, IShellView
    {

      

        public IModuleManager ModuleManager;
        public IRegionManager RegionManager;

        public Shell()
        {
            InitializeComponent();
        }

        public void ShowView()
        {
            this.Show();
        }

       


    }

    public class CustomItemsControl: ItemsControl
    {
        protected override DependencyObject GetContainerForItemOverride()
        {
            return new ContentControl();
        }

        protected override bool IsItemItsOwnContainerOverride(object item)
        {
            // Even wrap other ContentControls
            return false;
        }
    }
}
